#include "stdlib.h"
#include "stdio.h"
#include "string.h"


//sizeof
void main()
{

	char buf1[100] = {'a', 'b', 'c'};

	char buf2[] = {'a', 'b', 'c'};
	char buf3[] = {'a', 'b', 'c','\0'};


	char buf4[] = "abcd";

	printf("%s\n", buf4 );
	printf("sizeof(buf4): %d\n", sizeof(buf4));// sizeof(buf4): 5
	printf("strlen(buf4): %d\n", strlen(buf4));// strlen(buf4): 4

	system("pause");
}
